.class public Lcom/estrongs/android/pop/app/editor/ReaderTextView;
.super Landroid/widget/TextView;
.source "ReaderTextView.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/editor/ReaderTextView$b;,
        Lcom/estrongs/android/pop/app/editor/ReaderTextView$a;
    }
.end annotation


# instance fields
.field private a:I

.field private b:Lcom/estrongs/android/pop/app/editor/ReaderTextView$a;

.field private c:F

.field private d:F

.field private e:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    const/4 p1, -0x1

    .line 2
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->a:I

    const/4 p1, 0x0

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->b:Lcom/estrongs/android/pop/app/editor/ReaderTextView$a;

    const/high16 p1, 0x3f800000    # 1.0f

    .line 4
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->c:F

    const/4 p1, 0x0

    .line 5
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->d:F

    const/4 p1, 0x1

    .line 6
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->e:Z

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0

    .line 7
    invoke-direct {p0, p1, p2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 p1, -0x1

    .line 8
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->a:I

    const/4 p1, 0x0

    .line 9
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->b:Lcom/estrongs/android/pop/app/editor/ReaderTextView$a;

    const/high16 p1, 0x3f800000    # 1.0f

    .line 10
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->c:F

    const/4 p1, 0x0

    .line 11
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->d:F

    const/4 p1, 0x1

    .line 12
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->e:Z

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 13
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/TextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/4 p1, -0x1

    .line 14
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->a:I

    const/4 p1, 0x0

    .line 15
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->b:Lcom/estrongs/android/pop/app/editor/ReaderTextView$a;

    const/high16 p1, 0x3f800000    # 1.0f

    .line 16
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->c:F

    const/4 p1, 0x0

    .line 17
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->d:F

    const/4 p1, 0x1

    .line 18
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->e:Z

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    iput v0, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->a:I

    return-void
.end method

.method public getIncludeFontPadding()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->e:Z

    return v0
.end method

.method public getLineSpacingAdd()F
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->d:F

    return v0
.end method

.method public getLineSpacingMult()F
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->c:F

    return v0
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .locals 2

    .line 1
    iget v0, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->a:I

    invoke-virtual {p0}, Landroid/widget/TextView;->getBottom()I

    move-result v1

    if-eq v0, v1, :cond_0

    .line 2
    invoke-virtual {p0}, Landroid/widget/TextView;->getBottom()I

    move-result v0

    iput v0, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->a:I

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->b:Lcom/estrongs/android/pop/app/editor/ReaderTextView$a;

    if-eqz v1, :cond_0

    .line 4
    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/editor/ReaderTextView$a;->a(I)V

    .line 5
    :cond_0
    invoke-super {p0, p1}, Landroid/widget/TextView;->onDraw(Landroid/graphics/Canvas;)V

    return-void
.end method

.method public setIncludeFontPadding(Z)V
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->e:Z

    .line 2
    invoke-super {p0, p1}, Landroid/widget/TextView;->setIncludeFontPadding(Z)V

    return-void
.end method

.method public setLineSpacing(FF)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->d:F

    .line 2
    iput p2, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->c:F

    .line 3
    invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setLineSpacing(FF)V

    return-void
.end method

.method public setOnPreDrawListener(Lcom/estrongs/android/pop/app/editor/ReaderTextView$a;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ReaderTextView;->b:Lcom/estrongs/android/pop/app/editor/ReaderTextView$a;

    return-void
.end method

.method public setOnTextChangedListener(Lcom/estrongs/android/pop/app/editor/ReaderTextView$b;)V
    .locals 0

    return-void
.end method
